package mapstruct.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import mapstruct.po.GirlPo;

import java.util.Date;
import java.util.List;

/**
 * The class/interface
 *
 * @author guodd
 * @version 1.0 use jdk 1.8
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BoyRes {
    private String name;

    private Integer sex;

    private Date birthday;

    private Double salary;

    // ids = 1,2,3
    private List<GirlPo> girlFriends;
}
